package com.whcoding.test.example.generic;

import java.util.ArrayList;
import java.util.List;

public class GenericDemo {


    /**
     * 执行泛型方法
     * @param args
     */
    public static void main(String[] args) {
        List<Number> numberList = new ArrayList<Number>();
        numberList.add(1);
        numberList.add(0.11);
        numberList.add(10L);
    }

}
